﻿@model Orchard.OpenId.Models.GoogleSettingsPart
@using Orchard.OpenId.Constants

<h2>Google Settings</h2>
<fieldset>
    <label for="@Html.IdFor(m => m.ClientId)">@T("Client Id")</label>
    @Html.TextBoxFor(m => m.ClientId, new { @class = "text large" })
    <span class="hint">@T("Google's Client Id obtained from your google dashboard (e.g. {0})", Google.DefaultClientId)</span>
</fieldset>
<fieldset>
    <label for="@Html.IdFor(m => m.ClientSecret)">@T("Client Secret")</label>
    @Html.TextBoxFor(m => m.ClientSecret, new { @class = "text large" })
    <span class="hint">@T("Google's Client Secret obtained from your google dashboard (e.g. {0})", Google.DefaultClientSecret)</span>
</fieldset>
<fieldset>
    <label for="@Html.IdFor(m => m.CallbackPath)">@T("Callback Path")</label>
    @Html.TextBoxFor(m => m.CallbackPath, new { @class = "text large" })
    <span class="hint">@T("Google's Callback Path obtained from your google dashboard (case sensitive). Recommended: {0}", General.LogonCallbackUrl)</span>
</fieldset>
<hr />